package cn.iocoder.yudao.module.diy.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * diy 错误码枚举类
 * <p>
 * diy 系统，使用 1-030-000-000 段
 */
public interface ErrorCodeConstants {

    ErrorCode ADDON_NOT_EXISTS = new ErrorCode(1_030_100_000, "插件不存在！");
    ErrorCode CONFIG_NOT_EXISTS = new ErrorCode(1_030_100_000, "配置不存在");
    ErrorCode PAGE_NOT_EXISTS = new ErrorCode(1_030_100_000, "页面不存在");
    ErrorCode POSTER_NOT_EXISTS = new ErrorCode(1_030_100_000, "海报不存在");
    ErrorCode ROUTE_NOT_EXISTS = new ErrorCode(1_030_100_000, "路由不存在");
    ErrorCode DIY_PAGE_NOT_EXISTS = new ErrorCode(1_030_100_000, "路由不存在");
    ErrorCode DIY_PAGE_NAME_USED = new ErrorCode(1_030_100_000, "路由不存在");
    ErrorCode DIY_ROUTE_NOT_EXISTS = new ErrorCode(1_030_100_000, "路由不存在");
    ErrorCode DIY_TEMPLATE_JSON_NOT_EXISTS = new ErrorCode(1_030_100_000, "路由不存在");

}
